// ContainerModelPoint.cpp: implementation of the ContainerModelPoint class.
//
//////////////////////////////////////////////////////////////////////

#include "stdafx.h"
#include "ContainerModelPoint.h"
#include "BlockOperation.h"
#include <gemat3d.h>
#include <gepnt3d.h>
#include <geassign.h>
#include "UEXDataManager.h"
#include "UEEntityOperation.h"
#include "PartPoint.h"

//////////////////////////////////////////////////////////////////////
// Construction/Destruction
//////////////////////////////////////////////////////////////////////

ContainerModelPoint::ContainerModelPoint()
{

}

ContainerModelPoint::~ContainerModelPoint()
{

}

Dictionary ContainerModelPoint::FindObserverDictionary(const CString& strName)
{
	Acad::ErrorStatus es = Acad::eOk;
	AcDbObjectId id;
	AcDbDictionary* pDic = this->GetDictionary();
	AcDbObject* pObj = NULL;

	es = pDic->getAt(strName, pObj, AcDb::kForWrite);
	if(pObj == NULL)
	{
		pObj = new AcDbDictionary;
		es = pDic->setAt(strName, pObj, id);
		ASSERT(es == Acad::eOk);
	}
	pDic->close();
	AcDbHandle handle;
	pObj->getAcDbHandle(handle);
	pObj->close();

	return Dictionary(handle);
}